public static java.lang.String getStringInBox( java.lang.String s, PDFFont font, double width, double height ) |
Parameters
- s
- String to wrap in the box.
- font
- Font used to draw the string.
- width
- The box width.
- height
- The box height.
Return Value
The number of characters in the string that fit in the given box.